<template>
  <div class="cdemo">
    <el-input v-model="uphone" placeholder="请输入电话号码"></el-input>
    <el-divider></el-divider>
    <el-button @click="inquiry(uphone)" type="primary">查询订单详情</el-button>
  </div>
</template>
<script>
export default {
    name:'Check',
    data(){
        return{
            uphone:''
        }
    },
    methods:{
        inquiry(uphone){
          this.$router.push({
              name:'odl',
              query:{
                phone:uphone
              }
          })
        },
    }
}
</script>
<style>
    .cdemo{
        width:500px;
        height:500px;
        padding-top: 10%;
        padding-left: 30%;
        
    }
</style>
